package com.pl.lc.app.service;

import com.pl.lc.app.config.OpenFeignConfig;
import com.pl.lc.common.param.PayAdd;
import com.pl.lc.common.vo.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @version 1.0
 * @Author 小胤
 * @Date 2024/6/12 14:39
 * @注释
 */
@FeignClient(value = "lc-userserver", configuration = OpenFeignConfig.class)
public interface PayFeign {
    @RequestMapping("/user/wallet/create")
    public R create(@RequestBody PayAdd payAdd);
    @RequestMapping("/user/wallet/my")
    R my();
}
